TARGETS=lab6_sender lab6_receiver
CFLAGS = -Wall -g -O0

all: $(TARGETS)

lab6_sender: lab6_sender.c lab6.c
	gcc $(CFLAGS) -o lab6_sender lab6_sender.c lab6.c -lpthread

lab6_receiver: lab6_receiver.c lab6.c
	gcc $(CFLAGS) -o lab6_receiver lab6_receiver.c lab6.c -lpthread

clean:
	rm -f $(TARGETS)
